package com.dream.cgomall.service;

import com.dream.cgomall.entity.CgoAdmin;
import com.dream.cgomall.entity.CgoAdminAddress;

import java.util.List;

/**
 * (CgoAdminAddress)表服务接口
 *
 * @author makejava
 * @since 2021-07-07 15:07:22
 */
public interface CgoAdminAddressService {
    //更改用户地址
    ServiceResult updateUserAddress(CgoAdminAddress cgoAdminAddress);
    //添加用户地址
    ServiceResult addUserAddress(CgoAdminAddress cgoAdminAddress);
    //获取用户地址列表
    ServiceResult getUserAddress(Integer userId);
    //删除用户地址
    ServiceResult deleteAddress(Integer id);
    //获取用户默认地址
    CgoAdminAddress findDefAddress(Integer userId);

    CgoAdminAddress findAddressById(Integer addId);



}
